package com.jckl.foodathon.model;

import java.util.Date;

public class Coordinate {
	
	private double latitude;
	private double longitude;
	private String locality;
	private Date queryDate;
	private int queryCount;
	
	
	public Coordinate(double latitude, double longitude, String locality, Date queryDate){
		this.latitude = latitude;
		this.longitude = longitude;
		this.locality = locality;
		this.queryDate = queryDate;
	}
	
	public Coordinate(double latitude, double longitude, String locality){
		this.latitude = latitude;
		this.longitude = longitude;
		this.locality = locality;
	}
	
	public Coordinate(double latitude, double longitude){
		this.latitude = latitude;
		this.longitude = longitude;
	}
	

	/**
	 * Getter & Setter
	 */
	
	public double getLatitude() {
		return latitude;
	}
	public void setLatitude(double latitude) {
		this.latitude = latitude;
	}
	public double getLongitude() {
		return longitude;
	}
	public void setLongitude(double longitude) {
		this.longitude = longitude;
	}
	public String getLocality() {
		return locality;
	}
	public void setLocality(String locality) {
		this.locality = locality;
	}
	public Date getQueryDate() {
		return queryDate;
	}
	public void setQueryDate(Date queryDate) {
		this.queryDate = queryDate;
	}
	public int getQueryCount() {
		return queryCount;
	}
	public void setQueryCount(int queryCount) {
		this.queryCount = queryCount;
	}


	
}
